#ifndef Dialog_H
#define Dialog_H

#include <QDialog>
#include <time.h>
#include <QTimer>
#include <QDir>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT
    
public slots:
    void printFiles();

//signals:
//    void printing();

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();
    
private:
    time_t startTime;
    Ui::Dialog *ui;
    void IPC(int fd, time_t i);
};

#endif // Dialog_H
